﻿<Window x:Class="Using_Timer.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="211" Width="224">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100*" />
            <ColumnDefinition Width="99*" />
        </Grid.ColumnDefinitions>
        <TextBox Height="91" HorizontalAlignment="Left" Margin="12,12,0,0" Name="textBox1" VerticalAlignment="Top" Width="163" FontSize="72" AcceptsReturn="True" HorizontalContentAlignment="Center" VerticalContentAlignment="Top" Text="{Binding Text}" Grid.ColumnSpan="2" />
        <Button Content="Start" Height="23" HorizontalAlignment="Left" Margin="12,109,0,0" Name="button1" VerticalAlignment="Top" Width="75" Click="button1_Click" />
        <Button Content="Stop" Height="23" HorizontalAlignment="Right" Margin="0,109,27,0" Name="button2" VerticalAlignment="Top" Width="75" Click="button2_Click" Grid.ColumnSpan="2" />
        <Slider Grid.ColumnSpan="2" Height="21" HorizontalAlignment="Left" Margin="13,139,0,0" Name="slider1" VerticalAlignment="Top" Width="119" Minimum="100" Maximum="1000" Value="100" SmallChange="10" LargeChange="100" />
        <TextBlock Grid.Column="1" Height="21" HorizontalAlignment="Left" Margin="48,138,0,0" Name="textBlock1" Text="{Binding ElementName=slider1, Path=Value}" VerticalAlignment="Top" Width="25" />
    </Grid>
</Window>
